<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">

  <title>查询网点</title>
  <link rel="stylesheet" type="text/css" href="public/dist/css/zui.min.css" />
  <link rel="stylesheet" href="public/css/background.css">
</head>

<body>

  <div class="panel" id="frame">
    <div class="panel-heading">
      查看网点
    </div>
    <div class="panel-body">


      <div class="col-lg-2 col-sm-6 col-xs-12">
        <div class="with-padding">
          <div class="input-group">
            <span class="input-group-addon">区/县 网点名</span>
            <input id="name" type="text" class="form-control" placeholder="请输入区/县">
          </div>
        </div>
      </div>

      <div class="col-lg-2 col-sm-6 col-xs-12">
        <div class="with-padding">
          <div class="input-group">
            <span class="input-group-addon">市 网点名</span>
            <input id="fname" type="text" class="form-control" placeholder="请输入市">
          </div>
        </div>
      </div>



      <div class="col-lg-2 col-sm-6 col-xs-12">
        <div class="with-padding">
          <button class="btn  btn-block" type="button" onclick="doSend()">查询</button>
        </div>
      </div>

      <div class="col-lg-2 col-sm-6 col-xs-12">
        <div class="with-padding">
          <button class="btn  btn-block" type="button" onclick="doAdd()">新增</button>
        </div>
      </div>



    </div>
  </div>


  <!--对话框-->
  <div class="modal fade" id="doAdd">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
              class="sr-only">关闭</span></button>
          <h4 class="modal-title">添加网点</h4>
        </div>
        <div class="modal-body">


          <form class="form-horizontal">


            <label for="exampleInputAddress1" class="col-sm-2">省</label>
            <div>
              <select class="form-control" onchange="change()" id="addressOne">

              </select>
            </div>
            <label for="exampleInputAddress1" class="col-sm-2">市</label>
            <div>
              <select class="form-control" onchange="change2()" id="addressTwo">

              </select>
            </div>

            <label for="exampleInputAddress1" class="col-sm-2">区/县</label>
            <div>
              <select class="form-control" onchange="change3()" id="addressThree">

              </select>
            </div>
            <div class="form-group">
              <label for="exampleInputAccount4" >网点名</label>
              <div >
                <input type="text" class="form-control" id="netName" placeholder="请输入要添加的网点名">
              </div>
            </div>
            <div class="form-group">
              <label for="exampleInputAccount4" >详细地址</label>
              <div >
                <input type="text" class="form-control" id="detail" placeholder="请输入详细地址">
              </div>
            </div>
          </form>



        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="button" class="btn btn-primary" onclick="confirm()">确定</button>
        </div>
      </div>
    </div>
  </div>

  <div class="modal fade" id="doUpdate">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
              class="sr-only">关闭</span></button>
          <h4 class="modal-title">修改网点名</h4>
        </div>
        <div class="modal-body">

          <div class="with-padding">
            <div class="with-padding">
              <div class="input-group">
                <span class="input-group-addon">网点名</span>
                <input id="networkName" type="text" class="form-control" placeholder="用户名">
              </div>
            </div>
          </div>

        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="button" class="btn btn-primary" onclick="confirm2()">确定</button>
        </div>
      </div>
    </div>
  </div>


  <div class="panel" id="frame">
    <div class="panel-heading">
      数据
    </div>
    <div class="panel-body">

      <table class="table table-bordered" id="table">

      </table>

      <div align="center">
        <input type="button" value="上一页" onclick="pageback()">
        &nbsp;<span id="pager">0/0</span>&nbsp;
        <input type="button" value="下一页" onclick="pagenext()">
      </div>


    </div>
  </div>

</body>
<script type="text/javascript" src="public/dist/lib/jquery/jquery.js"></script>
<script type="text/javascript" src="public/dist/js/zui.min.js"></script>
<script type="text/javascript" src="public/layer/layer.js"></script>
<script type="text/javascript" src="public/js/function.js"></script>
<script type="text/javascript" src="public/js/adminNekwork.js"></script>

</html>